// OpGirl.h: interface for the COpGirl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPGIRL_H__3E6E1D88_57A6_4F5B_80D5_A12737623C1B__INCLUDED_)
#define AFX_OPGIRL_H__3E6E1D88_57A6_4F5B_80D5_A12737623C1B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ChatViewEdit.h"
#include "xD3D.h"
#include "Graphic.h"
#include "xTexture.h"
#include "D3DSprite.h"
#include "D3DPlane.h"

class COpGirl  
{
public:

	CWnd *pParent;
	CFont Font;
	CChatViewEdit ChatViewEdit;

	int Width, Height;
	int Xp, Yp;

	BOOL bShow;

	int State;
	float Angle;
	int FrameCnt;
	int WaitCnt;
	int MaxWaitCnt;

	COpGirl();
	virtual ~COpGirl();

	void Create(int x, int y, CWnd* pWnd, int team);
	void Destroy();

	void SetMsg(LPCTSTR str, BOOL bClear = TRUE);
	void SetMsg(CString& str, BOOL bClear = TRUE);

	void OnMyTurn();

	void Process();
	void Draw();
	void DrawChatEdit();
};

#endif // !defined(AFX_OPGIRL_H__3E6E1D88_57A6_4F5B_80D5_A12737623C1B__INCLUDED_)
